package index.oop;

public class instanceOfStudent3 {
    public static void main(String[] args) {
        //创造Student3的实例化 对象
        Student3 stu3=new Student3();
        stu3.name="xiaoxiao";
        stu3.age=20;
        stu3.id=1;
        stu3.gender="famale";
        stu3.height=1.65;
        stu3.weight=45;
        //toString
        System.out.println(stu3.name);
        System.out.println(stu3.age);
        System.out.println(stu3.height);
        System.out.println(stu3.gender);
        System.out.println(stu3.weight);
        System.out.println(stu3.id);
        stu3.study();
        stu3.examination();
        stu3.rest();
        stu3.playGame();
        stu3.sing();
    }
}
